package java3_21.MobilePhone;

public class Test {
    public static void main(String[] args) {
        CommonHandSet ch = new CommonHandSet("诺基亚","2");
        AptitudeHandSet ah = new AptitudeHandSet("红米","Note12");
        Phone p = new Phone("小米","11");
        ch.print();
        ch.ringUp();
        ch.sendMessage();
        System.out.println("**********************************");
        ah.print();
        ah.ringUp();
        ah.sendMessage();
        ah.surfTheInternet();
        ah.takePhoto();
    }
}
